STEP 10: Let's change the polygon's location!

The polygon has five arguments, just like the star! Four are integers and one is a string.

Use the comment above the code to help you determine which arguments to change!

  • Change the polygon's x argument to -50.
  • Change the polygon's y argument to 50.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)